stop

open fun stop(): @Nullable Array<SparseIntArray>(source)

Stops recording metrics for all Activities currently being tracked. Like remove, this method returns the currently-collected metrics. Calling stop() does not reset the metrics array; you must call reset to clear the data.

Return

An array whose index refers to the type of metric stored in that item's SparseIntArray object, e.g., data for TOTAL_DURATION is stored in the [TOTAL_INDEX] item.

See also